{include file="Public:header2"/}
<body>
<div class="layui-fluid">
    <div class="layui-card">
        <form method="get" class="layui-form layui-card-header layuiadmin-card-header-auto">
            <div class="layui-form-item">
                <div class="layui-inline">
                    <div class="layui-input-inline" style="width: 150px;margin-left: 0px">
                        <input type="text" name="user_id" value="{$Request.get.user_id}" placeholder="请输入UID" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <div class="layui-input-inline" style="width: 150px;margin-left: 0px">
                        <input type="text" name="mobile" value="{$Request.get.mobile}" placeholder="请输入手机号" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <button class="layui-btn layuiadmin-btn-useradmin mmm" lay-submit lay-filter="LAY-user-front-search">
                        <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
                    </button>
                </div>
            </div>
        </form>

        <div class="layui-card-body">
            <xblock>
                <div style="padding-bottom: 10px;">
                    <span style="line-height:40px;float:right;">共有数据： {$count}条</span>
                </div>
            </xblock>
            <table class="layui-table">
                <thead>
                <tr>
                    <th>排名</th>
                    <th>用户信息</th>
                    <th>奖品信息</th>
                    <th>消费</th>
                    <th>统计时间</th>
                    <th>统计时间范围</th>
                </tr>
                </thead>
                <tbody>
                {volist name="list" id="vo"}
                    <tr>
                        <td>{$vo['rank']}</td>
                        <td style="text-align: left">
                            <div style="display: flex;">
                                <div><img src="{:imageUrl($vo['headimg'])}" alt="" width="50px" height="50px"></div>
                                <div style="margin-left: 10px">
                                    <p style="color: #e91e63;font-size: 9px">UID：{$vo['id']}</p>
                                    <p style="color: #666666ba;font-size: 9px">{$vo['mobile']}</p>
                                    <p style="color: #666666ba;font-size: 9px">{$vo['nickname']}</p>
                                </div>
                            </div>
                        </td>
                        <td style="text-align: left">
                            {if $vo['prize_title']}
                            <div style="display: flex;">
                                <div><img src="{:imageUrl($vo['prize_imgurl'])}" alt="" width="50px" height="50px"></div>
                                <div style="margin-left: 10px">
                                    <p style="color: #666666ba;font-size: 9px">{$vo['prize_title']}</p>
                                </div>
                            </div>
                            {/if}
                        </td>
                        <td>{$vo.money}</td>
                        <td>{$vo.addtime|date="Y-m-d H:i:s"}</td>
                        <td>{$vo.week_time}</td>
                    </tr>
                {/volist}
                {if condition="empty($list)"}
                    <tr><td colspan='11' style="text-align:center;">暂时没有数据！</td></tr>
                {/if}
                </tbody>
            </table>
            <div class="layui-box layui-laypage layui-laypage-default">
                {$page|raw}
            </div>
        </div>
    </div>
</div>
{include file="Public:footer"/}
<script type="text/javascript">
    layui.use(['layer','table'], function(){
        var $ = layui.$;

    })


</script>
</body>
</html>


